gpsbabel.git
12 years agoA completely mechanical search and replace to swap the first argument
robertlipe [Tue, 1 Oct 2013 04:32:48 +0000 (04:32 +0000)]
A completely mechanical search and replace to swap the first argument
for an xml_generic callback with a typdef that can be swapped at compile
time.

Yes, this is a hint of things to come to reduce future bulky merges.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4627 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoCompilation fixes.
robertlipe [Mon, 23 Sep 2013 02:51:49 +0000 (02:51 +0000)]
Compilation fixes.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4626 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoLand QString changes that don't require (blatant) conditional compilation
robertlipe [Mon, 23 Sep 2013 02:45:37 +0000 (02:45 +0000)]
Land QString changes that don't require (blatant) conditional compilation
that are really mechanical.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4625 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoMake unicsv a little more QString ready internally.
robertlipe [Mon, 23 Sep 2013 02:40:24 +0000 (02:40 +0000)]
Make unicsv a little more QString ready internally.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4624 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoBring forward uncontested change from NEW_STRINGS work to fix non-NEW_STRINGS build...
robertlipe [Fri, 20 Sep 2013 20:22:32 +0000 (20:22 +0000)]
Bring forward uncontested change from NEW_STRINGS work to fix non-NEW_STRINGS build break.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4623 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoCommit the least contestable part of a CL I have in progress. Abandon the idea of...
robertlipe [Fri, 20 Sep 2013 05:21:25 +0000 (05:21 +0000)]
Commit the least contestable part of a CL I have in progress. Abandon the idea of a stepping stone "Strings" class.  Just go straight to QString, currently behind a #define.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4622 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoTweak testo to use more common stdout capture.
robertlipe [Thu, 19 Sep 2013 22:34:42 +0000 (22:34 +0000)]
Tweak testo to use more common stdout capture.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4621 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoGuilhem Bonnefile tweaks (old) Magellan Explorist PMGNCMD,END issues.
robertlipe [Thu, 19 Sep 2013 19:45:29 +0000 (19:45 +0000)]
Guilhem Bonnefile tweaks (old) Magellan Explorist PMGNCMD,END issues.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4620 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoWarning fixes from Conrad.
robertlipe [Wed, 18 Sep 2013 05:17:49 +0000 (05:17 +0000)]
Warning fixes from Conrad.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4619 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoadd utf-8 bom check and well-formed xml check to testo.
tsteven4 [Wed, 18 Sep 2013 00:36:46 +0000 (00:36 +0000)]
add utf-8 bom check and well-formed xml check to testo.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4618 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoWarning cleanups from Conrad.
robertlipe [Tue, 17 Sep 2013 22:58:07 +0000 (22:58 +0000)]
Warning cleanups from Conrad.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4617 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agochange illegal xml character stripping from QRegExp/QRegularExpression to QTextCodec...
tsteven4 [Tue, 17 Sep 2013 01:12:47 +0000 (01:12 +0000)]
change illegal xml character stripping from QRegExp/QRegularExpression to QTextCodec for efficiency.  Thanks Conrad.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4616 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoPreserve note for future possibilities of strip_html.
robertlipe [Sun, 15 Sep 2013 21:51:42 +0000 (21:51 +0000)]
Preserve note for future possibilities of strip_html.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4615 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoMore pulling at removing C strings internally: unicsv_print_str and strenquote.
robertlipe [Sun, 15 Sep 2013 18:44:12 +0000 (18:44 +0000)]
More pulling at removing C strings internally: unicsv_print_str and strenquote.

A victim of this is the seemingly unused sportsim format. It was doing
stupid things in the format definition with high byte characters and
unclear encodings.  After a few hours trying to save it, I just chopped it.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4614 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoReplace guts of manual trimmed_strdup in tef reader. Reduce type thrash.
robertlipe@gmail.com [Sun, 15 Sep 2013 07:18:39 +0000 (07:18 +0000)]
Replace guts of manual trimmed_strdup in tef reader.  Reduce type thrash.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4613 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoRemove open-coded Vector in unicsv. Make better use of QString internally.
robertlipe@gmail.com [Sun, 15 Sep 2013 07:17:27 +0000 (07:17 +0000)]
Remove open-coded Vector in unicsv.  Make better use of QString internally.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4612 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoCommit 'ptesto', a script for running valgrinds in parallel. Really crude,
robertlipe@gmail.com [Sun, 15 Sep 2013 06:15:22 +0000 (06:15 +0000)]
Commit 'ptesto', a script for running valgrinds in parallel.  Really crude,
but still kind of handy.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4611 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoCorrect leak in bcr that I just introduced when I partially rolled back a failed...
robertlipe@gmail.com [Sun, 15 Sep 2013 05:50:21 +0000 (05:50 +0000)]
Correct leak in bcr that I just introduced when I partially rolled back a failed experiment in making S1 and S2 into QStrings.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4610 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoA bulky, but rather brainless pass at treating the important strings in
robertlipe [Sun, 15 Sep 2013 05:41:21 +0000 (05:41 +0000)]
A bulky, but rather brainless pass at treating the important strings in
struct waypoint as a class instead of C string.  Of course, that struct
has one member - a C string - but this starts to hightlight the places
that are going to be problem areas for us.

With NEW_STRINGS turned on, we basically run, but suffer from a double
encoding of non-ascii strings.  Every format seems to be affected, so
it's probably in CET somewhere.  This isn't a QString thing in any obvious
way, as the underlying data types are still actually C Strings.

From here, additional passes can be made, either turning the individual
string pointer conversions off and whacking on a few files at a time or
going full money and making String a QString.

It does highlight the need for better vararg-style functions like warning,
fatal, and our debugging printfs to to know about stream operators.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4609 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoFixes for optionsdlg: only use ranges when we HAVE ranges (and they're not equal...
robertlipe [Sat, 14 Sep 2013 23:49:03 +0000 (23:49 +0000)]
Fixes for optionsdlg: only use ranges when we HAVE ranges (and they're not equal).  Let help link directly to the correct page.
Whitespace cleanup.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4608 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agocatch a straggler up with qt include renaming.
tsteven4 [Fri, 13 Sep 2013 20:26:47 +0000 (20:26 +0000)]
catch a straggler up with qt include renaming.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4607 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoadd xmlstreamwriter methods analogous to QXmlStreamWriter that strip illegal characters.
tsteven4 [Thu, 12 Sep 2013 22:14:07 +0000 (22:14 +0000)]
add xmlstreamwriter methods analogous to QXmlStreamWriter that strip illegal characters.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4606 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoGet the gui ready for Qt5 while maintaining support for Qt4.
tsteven4@gmail.com [Thu, 12 Sep 2013 02:52:40 +0000 (02:52 +0000)]
Get the gui ready for Qt5 while maintaining support for Qt4.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4605 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agocatch gui translation files up with recent source renaming and UpgradeCheck class...
tsteven4 [Thu, 12 Sep 2013 02:45:53 +0000 (02:45 +0000)]
catch gui translation files up with recent source renaming and UpgradeCheck class work.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4604 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoMinor internal changes to make new_strings land better.
robertlipe@gmail.com [Wed, 11 Sep 2013 08:42:06 +0000 (08:42 +0000)]
Minor internal changes to make new_strings land better.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4603 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoFix mem leak I introduced earlier tonight (this morning?) in ozi.
robertlipe@gmail.com [Wed, 11 Sep 2013 07:46:08 +0000 (07:46 +0000)]
Fix mem leak I introduced earlier tonight (this morning?) in ozi.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4602 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoPull out a little more char* from our core infrastructure. Add shims to turn down...
robertlipe [Wed, 11 Sep 2013 05:06:34 +0000 (05:06 +0000)]
Pull out a little more char* from our core infrastructure.  Add shims to turn down case_ignore_strmp and case_ignore_strncmp().
Tweak reference files to deal with more correct(?) ordering in edge cases.
Start sketching a shim layer for shortname, description, and text, but increasingly I'm of the opinion that our only options are either do it all in one submit (eeek!) or to add additional members of struct waypt that are allocated/copied at waypt_add time so we can then at least separate readers and writers.  Instinct tells me the latter will result in harsh punishment as we'll have members that are out of sync and it will be difficult to flush them out.  So substantial parts of this CL may get tossed.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4601 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoSteve replaces use of deprecated QHttp with QNetworkAccessManager.
robertlipe [Wed, 11 Sep 2013 01:17:05 +0000 (01:17 +0000)]
Steve replaces use of deprecated QHttp with QNetworkAccessManager.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4600 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoPeter Popovec tweaks gtrnctr to fix sometimes missing lap info on write.
robertlipe [Tue, 10 Sep 2013 16:59:53 +0000 (16:59 +0000)]
Peter Popovec tweaks gtrnctr to fix sometimes missing lap info on write.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4599 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoRemove explicit xstrdup(CSTR... in favor of helper.
robertlipe [Mon, 9 Sep 2013 17:30:01 +0000 (17:30 +0000)]
Remove explicit xstrdup(CSTR... in favor of helper.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4598 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoStyle Cleanup from last commit.
robertlipe [Mon, 9 Sep 2013 01:38:37 +0000 (01:38 +0000)]
Style Cleanup from last commit.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4597 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoDirk Stitchling adds support for Navin/ZNEX miniHomer 2.8 with 10Hz time.
robertlipe [Mon, 9 Sep 2013 01:37:51 +0000 (01:37 +0000)]
Dirk Stitchling adds support for Navin/ZNEX miniHomer 2.8 with 10Hz time.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4596 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoFix (probably) memory leak in xmltag converion.
robertlipe [Sat, 7 Sep 2013 07:38:00 +0000 (07:38 +0000)]
Fix (probably) memory leak in xmltag converion.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4595 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoMove remaining char*'s in xmltag to QStrings. Tweak various callers and
robertlipe [Fri, 6 Sep 2013 20:38:11 +0000 (20:38 +0000)]
Move remaining char*'s in xmltag to QStrings.  Tweak various callers and
copy ctors.   vtesto on CentOS 6.4 seems no worse for the wear.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4594 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoRemove some read-only struct members in xml_tag. Passes vtesto.
robertlipe [Fri, 6 Sep 2013 19:54:37 +0000 (19:54 +0000)]
Remove some read-only struct members in xml_tag.  Passes vtesto.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4593 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoFix another new/xfree mismatch.
robertlipe [Fri, 6 Sep 2013 19:40:51 +0000 (19:40 +0000)]
Fix another new/xfree mismatch.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4592 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoCorrect allocation in xml_tag pseudo copy constructor.
robertlipe [Fri, 6 Sep 2013 19:27:03 +0000 (19:27 +0000)]
Correct allocation in xml_tag pseudo copy constructor.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4591 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoA very conservative move of xml_tag into a class of its own with
robertlipe [Fri, 6 Sep 2013 19:15:28 +0000 (19:15 +0000)]
A very conservative move of xml_tag into a class of its own with
headers of its own. Tweak xmalloc/xfree to new/delete.   Regenerate deps.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4590 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agofix waypoint counting errors in tpo and igc readers.
tsteven4 [Wed, 4 Sep 2013 00:19:06 +0000 (00:19 +0000)]
fix waypoint counting errors in tpo and igc readers.
add a filter to check the counts against the lists.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4589 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agofix memory leaks in cup, easygps, mapsend, osm, pcx and skyforce exposed by test...
tsteven4 [Mon, 2 Sep 2013 13:02:46 +0000 (13:02 +0000)]
fix memory leaks in cup, easygps, mapsend, osm, pcx and skyforce exposed by test-all, valgrind and patience.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4588 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agofix issue with naviguide reader double counting route waypts.
tsteven4 [Sun, 1 Sep 2013 18:46:42 +0000 (18:46 +0000)]
fix issue with naviguide reader double counting route waypts.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4587 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agofix bug in garmin_txt reader that could result in uninitialised value(s) being used...
tsteven4 [Sun, 1 Sep 2013 17:23:02 +0000 (17:23 +0000)]
fix bug in garmin_txt reader that could result in uninitialised value(s) being used when the input does not contain "Date Modified" data.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4586 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agofix iblue styles, writing was causing usage of uninitialised byte(s).
tsteven4 [Sun, 1 Sep 2013 14:29:29 +0000 (14:29 +0000)]
fix iblue styles, writing was causing usage of uninitialised byte(s).
fix iblue style prologue to match written fields, text taken from 2010-09-13 email.
modify mkstyle.sh to produce code compatible with our astylerc options.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4585 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoimprove support for testo running from alternate directories.
tsteven4 [Sun, 1 Sep 2013 13:19:35 +0000 (13:19 +0000)]
improve support for testo running from alternate directories.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4584 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoadd option to capture valgrind output in a log file.
tsteven4 [Sat, 31 Aug 2013 00:09:51 +0000 (00:09 +0000)]
add option to capture valgrind output in a log file.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4583 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agofix some url related memory leaks.
tsteven4 [Fri, 30 Aug 2013 21:25:48 +0000 (21:25 +0000)]
fix some url related memory leaks.
add constructor for UrlLink from char*.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4582 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoAdd valgrind leak suppressiosn for Fedora 18 to improve signal:noise.
robertlipe [Fri, 30 Aug 2013 18:45:05 +0000 (18:45 +0000)]
Add valgrind leak suppressiosn for Fedora 18 to improve signal:noise.
Inspired by http://wiki.wxwidgets.org/Valgrind_Suppression_File_Howto
I'm not terribly confident these are as tight as can be (and I fear they
may be too loose in come cases) but it really helps "interesting" issues
pop out over system library loss.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4581 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoRemove unnecessary strdup in garmin_gpi.
robertlipe [Fri, 30 Aug 2013 18:19:26 +0000 (18:19 +0000)]
Remove unnecessary strdup in garmin_gpi.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4580 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoFix obscure leak in GPX reader that I introduced. Combo.gpx from humminbird
robertlipe [Fri, 30 Aug 2013 05:08:34 +0000 (05:08 +0000)]
Fix obscure leak in GPX reader that I introduced.  Combo.gpx from humminbird
now doesn't lose 80K.
Tested:
  Manual inspection of valgrind --show-leaks on that specific file.
  Full valgrind on Fedora.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4579 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoreport errors detected by QXmlStreamReader in the geo reader.
tsteven4 [Wed, 28 Aug 2013 12:58:47 +0000 (12:58 +0000)]
report errors detected by QXmlStreamReader in the geo reader.
avoid infinite loop with malformed input in the geo reader.
avoid segmentation faults with malformed input in the geo reader.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4578 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agocorrect comment about readElementText behavior.
tsteven4 [Wed, 28 Aug 2013 01:58:21 +0000 (01:58 +0000)]
correct comment about readElementText behavior.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4577 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoadd error checking QXmlStreamReader errors in xmlgeneric.
tsteven4 [Wed, 28 Aug 2013 01:29:35 +0000 (01:29 +0000)]
add error checking QXmlStreamReader errors in xmlgeneric.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4576 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoImprove coment re:setCodecForCStrings.
robertlipe [Mon, 26 Aug 2013 16:21:36 +0000 (16:21 +0000)]
Improve coment re:setCodecForCStrings.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4575 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoGerhard brings MSVC up to speed.
robertlipe [Mon, 26 Aug 2013 00:15:56 +0000 (00:15 +0000)]
Gerhard brings MSVC up to speed.
Resync GPSBabel.pro
Kill mkwintesto
Various MSVC weirdness.
A change in main to set character encoding that really doesn't make sense
to me since he changed only the <Qt5 case and he's on Qt5.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4574 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoAnother fix in gpx.cc. With this, vtesto runs to completion on Ubuntu 12.04.
robertlipe@gmail.com [Sun, 25 Aug 2013 21:25:07 +0000 (21:25 +0000)]
Another fix in gpx.cc.  With this, vtesto runs to completion on Ubuntu 12.04.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4573 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoFix use-after-read that I just introduced in gpx.cc
robertlipe@gmail.com [Sun, 25 Aug 2013 20:53:40 +0000 (20:53 +0000)]
Fix use-after-read that I just introduced in gpx.cc

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4572 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoReplace a little-used Date field in unicsv with QDateTime for little reason
robertlipe [Sun, 25 Aug 2013 20:12:56 +0000 (20:12 +0000)]
Replace a little-used Date field in unicsv with QDateTime for little reason
other than I was looking at it for the test failure and it was unnecessarily
unsightly.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4571 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoLock unicsv test to UTC.
robertlipe [Sun, 25 Aug 2013 19:56:00 +0000 (19:56 +0000)]
Lock unicsv test to UTC.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4570 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoActually commit leak fix I just told Steve I committed before lunch. {blush}
robertlipe [Sun, 25 Aug 2013 19:29:07 +0000 (19:29 +0000)]
Actually commit leak fix I just told Steve I committed before lunch.  {blush}

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4569 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoadd error detection for navicache reader.
tsteven4@gmail.com [Sun, 25 Aug 2013 18:55:19 +0000 (18:55 +0000)]
add error detection for navicache reader.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4568 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoAnother cleanup pass on GPX reader. Eliminate vmem and several redundant
robertlipe [Sun, 25 Aug 2013 18:48:57 +0000 (18:48 +0000)]
Another cleanup pass on GPX reader.  Eliminate vmem and several redundant
QString->C string roundtrips, making them explicit where needed.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4567 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoActually use autoheader to generate config.h.in instead of manual a manual edit.
tsteven4@gmail.com [Sun, 25 Aug 2013 18:27:44 +0000 (18:27 +0000)]
Actually use autoheader to generate config.h.in instead of manual a manual edit.
It looks like this hasn't been done for a while.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4566 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agorip expat out of the build system.
tsteven4@gmail.com [Sun, 25 Aug 2013 17:00:45 +0000 (17:00 +0000)]
rip expat out of the build system.
note that msvc/GPSBabel.vcxproj still needs to be updated to do this.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4565 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agogpx reader based on QXmlStreamReader goes live.
tsteven4 [Sun, 25 Aug 2013 14:13:45 +0000 (14:13 +0000)]
gpx reader based on QXmlStreamReader goes live.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4564 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoRename GUI *.cpp to *.cc to match convention in core.
robertlipe [Sun, 25 Aug 2013 04:27:45 +0000 (04:27 +0000)]
Rename GUI *.cpp to *.cc to match convention in core.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4563 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agocheckpoint new gpx reader based on QXmlStreamReader instead of expat.
tsteven4 [Sat, 24 Aug 2013 01:51:54 +0000 (01:51 +0000)]
checkpoint new gpx reader based on QXmlStreamReader instead of expat.
the new gpx reader is disabled.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4562 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoeliminate weird input mode of gpx reader.
tsteven4 [Fri, 23 Aug 2013 23:10:51 +0000 (23:10 +0000)]
eliminate weird input mode of gpx reader.
add a test to make sure standard input works.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4561 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoFlorian Unger adds rptname, rptdigit options to tranform filter.
robertlipe [Fri, 23 Aug 2013 17:23:31 +0000 (17:23 +0000)]
Florian Unger adds rptname, rptdigit options to tranform filter.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4560 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoHow many times do I have to kill axim and psp? Die, die, die!
robertlipe [Fri, 23 Aug 2013 17:07:40 +0000 (17:07 +0000)]
How many times do I have to kill axim and psp?  Die, die, die!

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4559 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoDelete some dead code.
robertlipe [Fri, 23 Aug 2013 04:19:39 +0000 (04:19 +0000)]
Delete some dead code.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4558 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoDrop dead uuid code.
robertlipe [Fri, 23 Aug 2013 03:57:59 +0000 (03:57 +0000)]
Drop dead uuid code.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4557 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoAdd geocaching coverage to unicsv reader/writer test.
robertlipe [Fri, 23 Aug 2013 03:48:22 +0000 (03:48 +0000)]
Add geocaching coverage to unicsv reader/writer test.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4556 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoMinor warning cleanups for Fedora.
robertlipe [Fri, 23 Aug 2013 03:08:48 +0000 (03:08 +0000)]
Minor warning cleanups for Fedora.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4555 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoAdd a KML read test, lame as it is...
robertlipe [Fri, 23 Aug 2013 03:05:37 +0000 (03:05 +0000)]
Add a KML read test, lame as it is...

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4554 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoWhittle away a few more C-style date handlers.
robertlipe [Fri, 23 Aug 2013 03:01:02 +0000 (03:01 +0000)]
Whittle away a few more C-style date handlers.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4553 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agofix another link related memory issue with the gpx reader.
tsteven4 [Thu, 22 Aug 2013 12:45:45 +0000 (12:45 +0000)]
fix another link related memory issue with the gpx reader.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4552 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agofix a bug in the gpx reader that could cause the character data from the wrong elemen...
tsteven4 [Thu, 22 Aug 2013 01:19:47 +0000 (01:19 +0000)]
fix a bug in the gpx reader that could cause the character data from the wrong element to become associated with the link/text element.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4551 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoKludge around probably TZ issue that I introduced in hiketech.
robertlipe [Wed, 21 Aug 2013 19:46:49 +0000 (19:46 +0000)]
Kludge around probably TZ issue that I introduced in hiketech.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4550 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoConvert remaining users (glogbook, hiketech) of xmlgeneric
robertlipe [Wed, 21 Aug 2013 04:24:40 +0000 (04:24 +0000)]
Convert remaining users (glogbook, hiketech) of xmlgeneric
writer to XMLStreamwriter. Drop a whole lot of (kinda dumb) code.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4549 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agocorrect error in computing time spans related to DST.
tsteven4 [Tue, 20 Aug 2013 12:10:43 +0000 (12:10 +0000)]
correct error in computing time spans related to DST.
add toMSecsSinceEpoch() for Qt versions before 4.7.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4548 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoOK, the doc is self-correcting when you don't include explict references
robertlipe [Tue, 20 Aug 2013 06:13:43 +0000 (06:13 +0000)]
OK, the doc is self-correcting when you don't include explict references
to formats that just got deleted...

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4547 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoActually commit the astyle change I spoke of earlier.
robertlipe [Tue, 20 Aug 2013 05:19:16 +0000 (05:19 +0000)]
Actually commit the astyle change I spoke of earlier.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4546 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoThe reaper comes for little-used and/or pain in the neck formats.
robertlipe [Tue, 20 Aug 2013 03:19:47 +0000 (03:19 +0000)]
The reaper comes for little-used and/or pain in the neck formats.
See depreecated/README for details.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4545 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agotweak datetime operator overload.
tsteven4@gmail.com [Sun, 18 Aug 2013 23:34:32 +0000 (23:34 +0000)]
tweak datetime operator overload.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4544 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agodon't use windows ddks that won't work, e.g. the one with the cross compiler on fedor...
tsteven4@gmail.com [Fri, 16 Aug 2013 17:13:15 +0000 (17:13 +0000)]
don't use windows ddks that won't work, e.g. the one with the cross compiler on fedora 18.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4543 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoRemove another implicit time_t conversion.
robertlipe [Fri, 16 Aug 2013 06:19:05 +0000 (06:19 +0000)]
Remove another implicit time_t conversion.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4542 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoA surpisingly clean bill of health from valgrind on new navicache reader.
robertlipe [Fri, 16 Aug 2013 05:48:01 +0000 (05:48 +0000)]
A surpisingly clean bill of health from valgrind on new navicache reader.
Have some warning cleanups at no extra cost.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4541 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoReplace use of Expat with QXmlStreamReaader in navicache.cc.
robertlipe [Fri, 16 Aug 2013 05:30:55 +0000 (05:30 +0000)]
Replace use of Expat with QXmlStreamReaader in navicache.cc.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4540 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoslightly cleaner fix for Qt 4.6.
tsteven4 [Fri, 16 Aug 2013 04:42:15 +0000 (04:42 +0000)]
slightly cleaner fix for Qt 4.6.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4539 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agocompatibility fix for Qt 4.6.
tsteven4 [Thu, 15 Aug 2013 23:05:01 +0000 (23:05 +0000)]
compatibility fix for Qt 4.6.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4538 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoremove insistence that we have expat for kml, gtrnctr, ignrando, wfff, osm now that...
tsteven4@gmail.com [Thu, 15 Aug 2013 22:38:22 +0000 (22:38 +0000)]
remove insistence that we have expat for kml, gtrnctr, ignrando, wfff, osm now that those readers don't use it.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4537 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoRemove a silly use (in a low-running place) of time_t in gpx.cc
robertlipe [Thu, 15 Aug 2013 18:33:36 +0000 (18:33 +0000)]
Remove a silly use (in a low-running place) of time_t in gpx.cc

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4536 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoConrad removes implicit conversion to time_t.
robertlipe [Thu, 15 Aug 2013 18:02:50 +0000 (18:02 +0000)]
Conrad removes implicit conversion to time_t.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4535 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoNEWQ scribbling in filters.
robertlipe [Thu, 15 Aug 2013 17:40:20 +0000 (17:40 +0000)]
NEWQ scribbling in filters.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4534 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoremove some obsolete debris from gpx reader.
tsteven4 [Thu, 15 Aug 2013 02:18:13 +0000 (02:18 +0000)]
remove some obsolete debris from gpx reader.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4533 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agorestore native line endings to kml and gpx writers, as with previous releases.
tsteven4@gmail.com [Tue, 13 Aug 2013 23:31:45 +0000 (23:31 +0000)]
restore native line endings to kml and gpx writers, as with previous releases.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4532 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agosubclass QFile to provide error handling and stdio.
tsteven4 [Tue, 13 Aug 2013 02:09:20 +0000 (02:09 +0000)]
subclass QFile to provide error handling and stdio.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4531 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoCheckpoint NEWQ code. Still not very happy with it. It's exposing all kinds
robertlipe [Mon, 12 Aug 2013 20:49:53 +0000 (20:49 +0000)]
Checkpoint NEWQ code.  Still not very happy with it.  It's exposing all kinds
of ugliness.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4530 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agostandardize gpx and kml writers using dynamically allocated files and writers.
tsteven4 [Sun, 11 Aug 2013 20:51:01 +0000 (20:51 +0000)]
standardize gpx and kml writers using dynamically allocated files and writers.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4529 f51c46e8-681c-474f-0cfe-069cfd0219fb

12 years agoSketch in work in progress of replacing waypoint list with a QList. Totally
robertlipe [Sun, 11 Aug 2013 20:40:47 +0000 (20:40 +0000)]
Sketch in work in progress of replacing waypoint list with a QList.  Totally
useless right now.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4528 f51c46e8-681c-474f-0cfe-069cfd0219fb